Skip to content

Bump cryptography for CVE-2026-69247 - #13

Merged
haksungjang merged 3 commits into
mainfrom
fix/bump-vulnerable-deps
Aug 4, 2026
Merged

Bump cryptography for CVE-2026-69247#13
haksungjang merged 3 commits into
mainfrom
fix/bump-vulnerable-deps

Conversation

@haksungjang

Copy link
Copy Markdown
Contributor

The image scan started failing on four CVEs after a Trivy DB refresh. None of them come from a code change — main fails the same way if you rerun it.

cryptography 48.0.1 → 50.0.0 clears two of them. 50.0.0 is the floor for CVE-2026-69247 (HIGH); 49.0.0 would only clear CVE-2026-69249.

The other two — brace-expansion 5.0.8 and ip-address 10.2.0, both inside the worker's cdxgen tree — are deliberately untouched here. Their fixed versions already sit inside the caret ranges their parents declare (minimatch wants ^5.0.8, socks wants ^10.1.1), so a rebuild should pull them in on its own. The last CI build did not, and I would rather find out why than paste in override blocks or bump cdxgen blind. This PR rebuilds the image, so its scan answers that.

If they clear, nothing more is needed. If they do not, the reason will be visible and the fix can be chosen on evidence.

48.0.1 → 50.0.0. 50.0.0 is the floor for CVE-2026-69247 (HIGH); 49.0.0 would
clear CVE-2026-69249 alone.

The image scan also flags brace-expansion and ip-address inside the worker's
cdxgen tree. Both fixed versions already sit inside the caret ranges their
parents declare, so a rebuild should pick them up — this commit is partly an
experiment to find out why the last one did not.
… tree

CVE-2026-69152 (HIGH) and CVE-2026-69192. Neither is suppressible as
unreached — cdxgen passes values read from the scanned repository into glob
patterns, and the brace-expansion flaw is an uncatchable OOM.

A rebuild does not pick up the fixes despite them sitting inside their
parents' caret ranges: these arrive through a platform-gated branch that
resolves differently on amd64. Same override pattern as the node-tar swap
above, extended to every copy npm hoisted since these are transitive.
The previous commit scoped the sweep to cdxgen's subtree, where both packages
are already current — it swept nothing and passed. Both findings live under
npm's node_modules.

brace-expansion needed a second fix: an older override pinned it to 5.0.8 to
clear CVE-2026-14257, and 5.0.8 is what CVE-2026-69152 now names. Pinning a
fixed version is not a one-time act.
@haksungjang
haksungjang merged commit 8b2175a into main Aug 4, 2026
19 checks passed
@haksungjang
haksungjang deleted the fix/bump-vulnerable-deps branch August 4, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant